package com.sgam.mf.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sgam.mf.domain.ref.RefActivityType;
import com.sgam.mf.domain.ref.RefProjectType;

@Entity
@Table(name = "APPLICATION_PROJECT_TYPE")
public class ApplicationProjectType {

		@Id
		@Column(name = "id")
		@GeneratedValue
		private Integer id;

//		@ManyToOne
//		@JoinColumn(name = "application_id_fk") 
//		private ApplicationPersJur applicationPersJur;
		
		@ManyToOne
		@JoinColumn(name = "project_type_fk") 
		private RefProjectType refProjectType;	
	
		@Column(name = "value") 
		private Integer value;

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}
//
//		public ApplicationPersJur getApplicationPersJur() {
//			return applicationPersJur;
//		}
//
//		public void setApplicationPersJur(ApplicationPersJur applicationPersJur) {
//			applicationPersJur = applicationPersJur;
//		}

//		public Integer getActivity_type_fk() {
//			return activity_type_fk;
//		}
//
//		public void setActivity_type_fk(Integer activity_type_fk) {
//			this.activity_type_fk = activity_type_fk;
//		}

		public Integer getValue() {
			return value;
		}

		public void setValue(Integer value) {
			this.value = value;
		}

		public RefProjectType getRefProjectType() {
			return refProjectType;
		}

		public void setRefProjectType(RefProjectType refProjectType) {
			this.refProjectType = refProjectType;
		}


		
		
	
}
